:host {
    width: 100%;
    height: 100%;
}
.playgroundContainer {
    width: 100%;
    height: 100%;
    // display: flex;
    overflow: hidden;
}
.content {
    width: 100%;
    height: calc(100% - 56px);
    display: flex;
    position: relative;
}
.editorContainer {
    width: 50%;
    height: 100%;
}
.toolsContainer {
    display: flex;
}
.codeViewerContainer {
    width: 50%;
    height: 100%;
}

.toolsNav {
    width: 100%;
    height: 56px;
    background-color: rgb(24 24 24/0.8);
    display: flex;
    align-items: center;
    position: relative;
    .runCode {
        padding: 7px 15px;
        border-radius: 3px;
        font-size: 12px;
        background-color: rgb(64, 158, 255);
        border-color: rgb(64, 158, 255);
        color: rgb(255, 255, 255);
        appearance: none;
        box-sizing: border-box;
        cursor: pointer;
        display: inline-block;
        font-weight: 500;
        line-height: 1;
        margin: 0px;
        outline: none;
        text-align: center;
        transition: all 0.1s ease 0s;
        user-select: none;
        white-space: nowrap;
        position: absolute;
        right: 16px;
        top: 50%;
        transform: translateY(-50%);

    }
    .loadDepend {
        padding: 7px 15px;
        border-radius: 3px;
        font-size: 12px;
        background-color: rgb(64, 158, 255);
        border-color: rgb(64, 158, 255);
        color: rgb(255, 255, 255);
        appearance: none;
        box-sizing: border-box;
        cursor: pointer;
        display: inline-block;
        font-weight: 500;
        line-height: 1;
        margin: 0px;
        outline: none;
        text-align: center;
        transition: all 0.1s ease 0s;
        user-select: none;
        white-space: nowrap;
        position: absolute;
        right: 120px;
        top: 50%;
        transform: translateY(-50%);
    }
}
.loadingContainer {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 0;
    right: 0;
    z-index: 999;
    background: rgba(255, 255, 255, 0.8);
    .lottie {
        width: 300px;
        height: 300px
    }
}



// 动画
.sk-chase {
    width: 60px;
    height: 60px;
    position: relative;
    animation: sk-chase 2.5s infinite linear both;
}

.sk-chase-dot {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    animation: sk-chase-dot 2.0s infinite ease-in-out both;
}

.sk-chase-dot:before {
    content: '';
    display: block;
    width: 25%;
    height: 25%;
    background-color: rgb(64, 158, 255);
    border-radius: 100%;
    animation: sk-chase-dot-before 2.0s infinite ease-in-out both;
}

.sk-chase-dot:nth-child(1) { animation-delay: -1.1s; }
.sk-chase-dot:nth-child(2) { animation-delay: -1.0s; }
.sk-chase-dot:nth-child(3) { animation-delay: -0.9s; }
.sk-chase-dot:nth-child(4) { animation-delay: -0.8s; }
.sk-chase-dot:nth-child(5) { animation-delay: -0.7s; }
.sk-chase-dot:nth-child(6) { animation-delay: -0.6s; }
.sk-chase-dot:nth-child(1):before { animation-delay: -1.1s; }
.sk-chase-dot:nth-child(2):before { animation-delay: -1.0s; }
.sk-chase-dot:nth-child(3):before { animation-delay: -0.9s; }
.sk-chase-dot:nth-child(4):before { animation-delay: -0.8s; }
.sk-chase-dot:nth-child(5):before { animation-delay: -0.7s; }
.sk-chase-dot:nth-child(6):before { animation-delay: -0.6s; }

@keyframes sk-chase {
    100% { transform: rotate(360deg); }
}

@keyframes sk-chase-dot {
    80%, 100% { transform: rotate(360deg); }
}

@keyframes sk-chase-dot-before {
    50% {
        transform: scale(0.4);
    } 100%, 0% {
          transform: scale(1.0);
      }
}
